package recursos;

public class Coordenada {

	protected int X;
	protected int Y;
	
	
	public Coordenada(int x, int y){
		X = x;
		Y = y;
	}
	
	public int obtenerX(){
		return X;
	}
	
	public int obtenerY(){
		return Y;
	}
	
	public void establecerX(int newX){
		X = newX;
	}
	
	public void establecerY(int newY){
		Y = newY;
	}
	
}
